<?php
namespace app\index\controller;

use think\Controller;
use think\View;

class Wechat extends Controller
{

    public function index()
    {
        //验证token
        define("TOKEN", "eybs");
        
        exit;
        file_put_contents(PUBLIC_URL . '../runtime/wechat.txt', json($_GET));
        if ($echoStr) {
            if (checkSignature()) {
                echo $echoStr;
            } else{
                echo "checkSignature false";
            }
            exit;
        }
    }
}



?>
